package com.hujia.hjsurprisemeal.repository;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hujia.hjsurprisemeal.model.Dish;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface DishMapper extends BaseMapper<Dish> {
    @Select("SELECT * FROM dish")
    List<Dish> getAllDishes();
}
